Skip to content

PooledEditableListWrapper.Insert(int, T) method

Defined in

Type: PooledEditableListWrapper Namespace: ReactiveList.Reactive.Core Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

public void Insert(int index, T item)

View source (opens in a new tab)

Inherited documentation

These docs were inherited from IList<T>. The member doesn't override them on this type.

Summary: Inserts an item to the IList (opens in a new tab) at the specified index.

Parameters

NameTypeDescription
indexint (opens in a new tab)The zero-based index at which item should be inserted.
itemTThe object to insert into the IList (opens in a new tab).

Exceptions

TypeCondition
System.ArgumentOutOfRangeException (opens in a new tab)index is not a valid index in the IList (opens in a new tab).
System.NotSupportedException (opens in a new tab)The IList (opens in a new tab) is read-only.